
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   R e s t o r e d   b y   L o a d V a r s 
 
 N u m e r i c   D u t y C y c l e 1 
 
 N u m e r i c   D u t y C y c l e 2 
 
 N u m e r i c   L i n e a r i t y   =   0 . 5 
 
 N u m e r i c   S m o o t h i n g   =   0 . 3 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   N o t   a f f e c t e d   b y   L o a d V a r s 
 
 N u m e r i c   C o m m a n d s T e x t S l o t   =   1 0 0 
 
 N u m e r i c   S l o t _ D u t y 1   =   1 2 0 
 
 N u m e r i c   S l o t _ D u t y 2   =   1 2 1 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   L o a d   A p p 
 
 L o a d   T h e r e m i n o _ S l o t V i e w e r . e x e 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S t a r t 
 
 C O M   O p e n   3 2   1 0 0 0 0 0 0 
 
 G o t o   L o o p 
 
 S t o p 
 
 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S e n d   C o m m a n d s 
 
 L a b e l   E n a b l e P w m 
 
 	 C O M   W r i t e S t r i n g   " E N A B L E _ P W M "   +   C R L F 
 
 R e t u r n 
 
 
 
 L a b e l   D i s a b l e P w m 
 
 	 C O M   W r i t e S t r i n g   " D I S A B L E _ P W M "   +   C R L F 
 
 R e t u r n 
 
 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   S e n d   O p t i o n s 
 
 L a b e l   S e n d O p t i o n s 
 
 	 S e n d O p t i o n s T o D r i v e r M o d u l e 
 
 R e t u r n 
 
 
 
 L a b e l   S e n d O p t i o n s T o D r i v e r M o d u l e 
 
 	 S t r i n g   C m d   =   D u t y C y c l e 1   +   "   "   +   D u t y C y c l e 2 
 
 	 C m d   =   C m d   +   "   "   +   L i n e a r i t y   +   "   "   +   S m o o t h i n g 
 
 	 C O M   W r i t e S t r i n g   " O P T I O N S   "   +   C m d     +   C R L F 
 
 R e t u r n 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     S E N D   C O M M A N D   ( d e f a u l t   t i m e o u t   =   0 . 5   S e c ) 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   S e n d C o m m a n d 
 
 	 V a r i a b l e   S t r i n g   S C 1                       ' < - -   P a r a m e t e r   C o m m a n d - S t r i n g 
 
 	 S l o t T e x t   C o m m a n d s T e x t S l o t   =   S C 1 
 
 	 V a r i a b l e   N u m e r i c   S C 2 
 
 	 F o r   S C 2   =   0 . 1   T o   0 . 5   S t e p   0 . 1   '   < - -   0 . 5   s e c o n d s   t i m e o u t 
 
 	 	 I f   S l o t T e x t ( C o m m a n d s T e x t S l o t )   =   " " 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 	 W a i t   S e c o n d s   0 . 1 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     L O O P 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   L o o p 
 
 	 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   L o o p   t i m e 
 
 	 W a i t   S e c o n d s   0 . 0 0 1 
 
 	 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   D e b u g s 
 
 	 D u t y C y c l e F r o m S l o t 
 
 G o t o   L o o p 
 
 
 
 
 
 L a b e l   D u t y C y c l e F r o m S l o t 
 
 	 I f   S l o t ( S l o t _ D u t y 1 )   < >   D u t y C y c l e 1 
 
 	 	 E n a b l e P w m 
 
 	 	 D u t y C y c l e 1   =   S l o t ( S l o t _ D u t y 1 ) 
 
 	 	 S e n d O p t i o n s 
 
 	 E n d I f 
 
 	 I f   S l o t ( S l o t _ D u t y 2 )   < >   D u t y C y c l e 2 
 
 	 	 E n a b l e P w m 
 
 	 	 D u t y C y c l e 2   =   S l o t ( S l o t _ D u t y 2 ) 
 
 	 	 S e n d O p t i o n s 
 
 	 E n d I f 
 
 R e t u r n 
 
 
 
 
 
 ' B O O K M A R K S   
 
 
 
 ' E D I T E D L I N E S   - 1   0   
 
 
 
 ' E X E C   D e s t X   =   1 2 
 
 